package com.example.demo.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.demo.entity.Prize;
import com.example.demo.entity.PrizesInActivities;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface PrizeMapper extends BaseMapper<Prize> {
    List<PrizesInActivities> getPrizeByActivityId(Integer activityId);

    Integer getBusinessIdByGoodId(Integer goodId);
}
